# #while  循环
# i=1
# while i<=9:
#
#     j=1
#     while j<=i:
#         print(f"{j}*{i}={j*i}\t",end='')
#         j+=1
#     i+=1
#     print()

#for 循环
name="aaaajfgiroaa"
count=0
for x in name:
    if x=="a":
        count+=1
    print(f"统计的字符串有{count}个a")

